import request from '@/utils/request'
// 提交订单
export function place_order(data) {
  return request({
    url: '/airtickets_order/add',
    method: 'post',
    data
  })
}
// 获取订单列表
export function get_order(data) {
  return request({
    url: '/order/list',
    method: 'post',
    data
  })
}
// 提交订单
export function add_order(data) {
  return request({
    url: '/order/add',
    method: 'post',
    data
  })
}
//删除订单
export function dele_order(data) {
  return request({
    url: "/order/del",
    method: 'post',
    data
  })
}
//微信支付
export function pay(data) {
  return request({
    url: "/pay/init",
    method: "post",
    data
  })
}
